package com.example.gdyh.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 一星客户表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_pre_grp")
public class TPreGrp {
    /**
     * 准客户名称 
     */

    @TableId(value = "precustomername")
//    @TableId(value = "PreCustomerName", type = IdType.INPUT)
    private String precustomername;

    /**
     * 准客户号码 
     */

    @TableField(value = "precustomerno")
    private Integer precustomerno;

    /**
     * 证件类型 
     */

    @TableField(value = "IDType")
    private String idtype;

    /**
     * 证件号码 
     */
    @TableField(value = "IDNo")
    private String idno;

    /**
     * 单位性质 
     */
    @TableField(value = "GrpNature")
    private String grpnature;

    /**
     * 行业分类 
     */
    @TableField(value = "BusiCategory")
    private String busicategory;

    /**
     * 单位总人数 
     */
    @TableField(value = "SumNumPeople")
    private Integer sumnumpeople;

    /**
     * 预计投保总人数 
     */
    @TableField(value = "PreSumPeople")
    private Integer presumpeople;

    /**
     * 预计保费规模 
     */
    @TableField(value = "PreSumPrem")
    private BigDecimal presumprem;

    /**
     * 所属上级客户 
     */
    @TableField(value = "UpCustomerNo")
    private String upcustomerno;

    /**
     * 销售渠道 
     */
    @TableField(value = "SaleChannel")
    private String salechannel;

    /**
     * 单位地址(省) 
     */
    @TableField(value = "Province")
    private String province;

    /**
     * 单位地址(市) 
     */
    @TableField(value = "City")
    private String city;

    /**
     * 单位地址(区/县) 
     */
    @TableField(value = "County")
    private String county;

    /**
     * 详细地址 
     */
    @TableField(value = "DetailAddress")
    private String detailaddress;

    /**
     * 公司简介 
     */
    @TableField(value = "CustomerIntro")
    private String customerintro;

    /**
     * 客户类型 
     */
    @TableField(value = "CustomerType")
    private String customertype;

    /**
     * 状态 
     */
    @TableField(value = "State")
    private String state;

    /**
     * 客户号 
     */
    @TableField(value = "CustomerNo")
    private String customerno;

    /**
     * 管理机构 
     */
    @TableField(value = "ManageCom")
    private String managecom;

    /**
     * 公司代码 
     */
    @TableField(value = "ComCode")
    private String comcode;

    /**
     * 投保意向
     */
    @TableField(value = "InsureAim")
    private String insureaim;

    /**
     * 星级
     */
    @TableField(value = "CustomerLevel")
    private String customerlevel;

    /**
     * 入机操作员 
     */
    @TableField(value = "MakeOperator")
    private String makeoperator;

    /**
     * 入机日期 
     */
    @TableField(value = "MakeDate")
    private LocalDate makedate;

    /**
     * 入机时间 
     */
    @TableField(value = "MakeTime")
    private String maketime;

    /**
     * 最后一次修改操作员 
     */
    @TableField(value = "ModifyOperator")
    private String modifyoperator;

    /**
     * 最后一次修改日期 
     */
    @TableField(value = "ModifyDate")
    private LocalDate modifydate;

    /**
     * 最后一次修改时间 
     */
    @TableField(value = "ModifyTime")
    private String modifytime;

    /**
     * 逻辑删除
     */
    @TableLogic
    @TableField(value = "IS_DELETE")
    private String isDelete;

    /**
     * 客户手机号
     */
    @TableField(value = "telphone")
    private String telphone;

    /**
     * 准客户号
     */
    @TableField(value = "zhunkh")
    private String zhunkh;

    @TableField(value = "localno")
    private String localno;


    private List<TPreGrpLinkInfo> tPreGrpLinkInfoList;


    public static final String COL_PRECUSTOMERNAME = "PreCustomerName";

    public static final String COL_PRECUSTOMERNO = "PreCustomerNo";

    public static final String COL_IDTYPE = "IDType";

    public static final String COL_IDNO = "IDNo";

    public static final String COL_GRPNATURE = "GrpNature";

    public static final String COL_BUSICATEGORY = "BusiCategory";

    public static final String COL_SUMNUMPEOPLE = "SumNumPeople";

    public static final String COL_PRESUMPEOPLE = "PreSumPeople";

    public static final String COL_PRESUMPREM = "PreSumPrem";

    public static final String COL_UPCUSTOMERNO = "UpCustomerNo";

    public static final String COL_SALECHANNEL = "SaleChannel";

    public static final String COL_PROVINCE = "Province";

    public static final String COL_CITY = "City";

    public static final String COL_COUNTY = "County";

    public static final String COL_DETAILADDRESS = "DetailAddress";

    public static final String COL_CUSTOMERINTRO = "CustomerIntro";

    public static final String COL_CUSTOMERTYPE = "CustomerType";

    public static final String COL_STATE = "State";

    public static final String COL_CUSTOMERNO = "CustomerNo";

    public static final String COL_MANAGECOM = "ManageCom";

    public static final String COL_COMCODE = "ComCode";

    public static final String COL_INSUREAIM = "InsureAim";

    public static final String COL_CUSTOMERLEVEL = "CustomerLevel";

    public static final String COL_MAKEOPERATOR = "MakeOperator";

    public static final String COL_MAKEDATE = "MakeDate";

    public static final String COL_MAKETIME = "MakeTime";

    public static final String COL_MODIFYOPERATOR = "ModifyOperator";

    public static final String COL_MODIFYDATE = "ModifyDate";

    public static final String COL_MODIFYTIME = "ModifyTime";

    public static final String COL_IS_DELETE = "IS_DELETE";

    public static final String COL_TELPHONE = "telphone";

    public static final String COL_ZHUNKH = "zhunkh";





}